<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<table class="cntable table table-bordered dataTable table-employee ">
	<thead>
		<tr>
			<th style="width:50px">序号</th>			
			<th style="width:80px">采购退货单号</th>
			<th style="width:60px">供应商</th>
			
			<th style="width:50px">退货金额</th>
			<th style="width:60px">经办人</th>
			<th style="width:60px">制单人</th>
			<th style="width:60px">时间</th>
			<th style="width:60px">状态</th>
			<th style="width:60px">备注</th>
		</tr>
	</thead>
	<tbody>
	<c:forEach var="inStock" items="${inStocks}" varStatus="status">
		<tr style="height:45px" data-id="${inStock.inStockId}" data-type="${inStock.type }">
			<td>${status.index+1 }</td>
			<td>${inStock.inStockNo }</td>
			<td>${inStock.purchase.supplier.supplierName }</td>
			
		
			<td><fmt:formatNumber value="${inStock.returnMoney }" pattern="0.00"></fmt:formatNumber></td>
			<td>${inStock.operatorName }</td>
			<td >${inStock.createUserName}</td>
			<td>
				<fmt:formatDate value="${inStock.createDate}" type="date" dateStyle="default" pattern="YYYY-MM-dd HH:mm"/>
			</td>
			<td >
				<t:provider packageName="stock" enumClassName="InStockState" value="${inStock.inStockState }"/>
			</td>
			<td>${inStock.comment }</td>
		</tr>
		</c:forEach>
	</tbody>
	<tfoot >
		<tr>
			<th class="pager-th">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>
